<!--# 
/*简单一级字典多选控件 
*/
-->
<div class="${style!'layui-input-block'}">
	<input type="checkbox" name="top" value="1" lay-skin="primary" title="置顶" ${article.top!false?'checked=""':''} ${has(id)?("id=" + id):''}} />
	<!--# 
		var dicts = dict.dictDownQuery(dictType!);
		
		var checkedDicts = articleTagService.getDictIdByArticleId(articleId!);
		for(dict in dicts){
		var dictValue = "" + dict.id + "";
	 -->
	<input type="checkbox" name="${name}" value="${dictValue}" lay-skin="primary" title="${dict.name}" ${util.contains(checkedDicts,dict.id )?'checked=""':''} ${has(id)?("id=" + id):''} />
   <!--#}-->
</div>
